/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.MotorcadeCost;
import com.jeeplus.modules.fleet.mapper.MotorcadeCostMapper;

/**
 * 车队费用Service
 * @author 李超辉
 * @version 2017-11-24
 */
@Service
@Transactional(readOnly = true)
public class MotorcadeCostService extends CrudService<MotorcadeCostMapper, MotorcadeCost> {

	public MotorcadeCost get(String id) {
		return super.get(id);
	}
	
	public List<MotorcadeCost> findList(MotorcadeCost motorcadeCost) {
		return super.findList(motorcadeCost);
	}
	
	public Page<MotorcadeCost> findPage(Page<MotorcadeCost> page, MotorcadeCost motorcadeCost) {
		return super.findPage(page, motorcadeCost);
	}
	
	@Transactional(readOnly = false)
	public void save(MotorcadeCost motorcadeCost) {
		super.save(motorcadeCost);
	}
	
	@Transactional(readOnly = false)
	public void delete(MotorcadeCost motorcadeCost) {
		super.delete(motorcadeCost);
	}
	
}